package com.jsz.yun.ai.field.util;

import com.jsz.yun.ai.field.entity.UserEntity;
import com.jsz.yun.ai.field.util.ttl.TransferableThreadLocal;

/**
 * @author gaoxing
 * @date 2025-03-24 21:36:54
 */
public class ThreadLocalSetting {

    /**
     * 用户注册登陆线程变量
     */
    public static final ThreadLocal<UserEntity> USER_INFO_THREADLOCA = new TransferableThreadLocal<>();

    /**
     * 用户文件上传线程变量
     */
    public static final ThreadLocal<UserEntity> USER_FILE_THREADLOCAL = new TransferableThreadLocal<>();

}
